package com.api.shopapi.service;

import com.api.shopapi.entity.CartGoodsPrice;
import com.api.shopapi.entity.dto.CartGoodsPriceDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CartGoodsPriceService  {

    int insert(CartGoodsPrice cartGoodsPrice);

    int delete(String cartGoodsPriceCode);

    int update(CartGoodsPrice cartGoodsPrice);

    List<CartGoodsPriceDTO> getList();

    CartGoodsPriceDTO getByCartGoodsPriceCode(String cartGoodsPriceCode);

    CartGoodsPriceDTO getByCartGoodsCode(String cartGoodsCode);


}
